#
# LWavEncoderProcess.py
#
# This work is released under the GNU GPL, version 2 or later.
#
from EncoderProcess import *
from Utils.Settings import *
from Utils.utils import *
import Utils.crushToAscii
import os,re


class WavEncoderProcess(EncoderProcess):
	def extension(self):
		return 'wav'
	
	def buildCommand(self):
		self.setExecutable('date')
		self.emitEvent({'Source':'Encoder','Status':'BeginTrack','Track':self.track,'FilePath':self.wavPath,'Index':self.index,'Count':self.total})
	
	def endProcess(self,process):
		self.emitEvent({'Source':'Encoder','Status':'EndTrack','Track':self.track,'FilePath':self.wavPath,'Index':self.index,'Count':self.total})
		LsongsProcess.endProcess(self,process)
